package com.example.crmdemo.Crm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("customer")
public class Customer {
    @TableId(value = "c_id", type = IdType.AUTO)
    private Long id;

    @TableField("c_name")
    private String name;

    @TableField("c_address")
    private String address;

    @TableField("c_area")
    private String area;

    @TableField("c_contacts")
    private String contacts;

    @TableField("c_number")
    private String number;

    @TableField("c_manager")
    private String manager;

    @TableField("c_manager_number")
    private String managerNumber;

    @TableField("f_date")
    private Date date;

    @TableField("d_state")
    private String state;

    @TableField("operator")
    private String operator;
}
